<?php if(!defined("PATH_HD"))exit;?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="http://localhost/company1/sccms/admin/tpl/source/css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
	<div id="htbody">
    	<span class="httitle">新闻浏览</span>
		<div class="newsb">
		<table  width="700px" border='1'>
			<tr>
				<td>新闻标题</td><td>发表者</td><td>发表时间</td><td>操作</td></tr>
			<?php if(!empty($row)){$listCount = count($row);$list_id1=0;?><?php foreach($row as $key=>$n){?><?php $list_id1+=1;?>
			<tr>
				<td width="40%" >
					<input type="hidden" name="nid" value="<?php echo $n['nid'];?>">
					<a href="#" id="title"><?php echo $n['title'];?></a>
				</td>
				<td width="10%"><?php echo $n['author'];?></td>
				<td width="25%"><?php echo date('Y-m-d h:i:s',$n['addtime']);?></td>
				<td width="25%"><a href="http://localhost/company1/index.php/admin/news/show/nid/<?php echo $n['nid'];?>" class="cz">查看</a>&nbsp;|&nbsp;<a href="http://localhost/company1/index.php/admin/news/updateshow/nid/<?php echo $n['nid'];?>" class="cz">修改</a>&nbsp;|&nbsp;<a href="http://localhost/company1/index.php/admin/news/del/nid/<?php echo $n['nid'];?>" class="cz">删除</a></td>
			</tr>
			<?php }?><?php }?>
		</table>
        <div class="page"><?php echo $page;?></div>
		</div>
    </div>
</body>
</html>
